#pragma once


#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdbool.h>


struct Node {
    int val;
    struct Node* next;
    struct Node* random;
};

void singleListPrint(struct Node* phead);
void singleListPriRan(struct Node* phead);

struct Node* copyRandomList(struct Node* head);